/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package com.iss.examsys.ejb;

import com.iss.examsys.entity.ExamInstance;
import javax.ejb.Stateless;
import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;

/**
 *
 * @author Quek Ting Hong
 */
@Stateless
public class ExamInstanceBean {
    @PersistenceContext EntityManager em;
    
    public void create(ExamInstance entity){
        em.persist(entity);
    }
}
